	package com.xlh.openai.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 会话列表
 * 
 * @author 1280251739@qq.com
 * @email sunlightcs@gmail.com
 * @date 2023-04-13 16:50:29
 */
@Data
@TableName("conversation")
@ApiModel("ConversationEntity")
public class ConversationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	@ApiModelProperty("主键值")
	private Integer id;
	@ApiModelProperty("用户表ID")
	private Integer userId;
	@ApiModelProperty("message 的json对象")
	private String title;
	@ApiModelProperty("创建时间")
	private Date createTime;
	@ApiModelProperty("是否删除 0 未删除 1 已删除")
	private Integer isDeleted;

}
